<form class="form-horizontal form-validate " method="post" action="{:url('info')}">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">审核管理</h4>
            </div>
            <div class="modal-body">
            		<div class="form-group">
                        <label class="col-sm-2 control-label">用户ID：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.user_id}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">姓名：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.name}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">手机号：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.phone}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">申请区域：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.region_name}
                        </div>
                    </div>
                    <div class="form-group" >
                        <label class="col-sm-2 control-label">订单状态：</label>
                        <div class="col-sm-6 m-t-mc">
                            {if condition="$row.order eq 0"}
                                没有下单
                            {elseif condition="$row.order eq 1"}
                                已支付
                            {else /}
                                没支付
                            {/if}
                        </div>
                    </div>
                    

                    <div class="form-group">
                        <label class="col-sm-2 control-label">详细地址：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.region_address}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">申请时间：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.add_time|dateTpl}
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">请审核：</label>
                        <div class="col-sm-6 m-t-mc">
                            <select name="status" id="">
                                <option value="0" {if condition="$row.status == 0"} selected {/if}>未审核</option>
                                <option value="1" {if condition="$row.status == 1"} selected {/if}>通过</option>
                                <option value="2" {if condition="$row.status == 2"} selected {/if}>拒绝</option>
                            </select>
                        </div>
                    </div>

            </div>
            <div class="modal-footer">
                <input type="hidden" name="id" id="operating" value="{$row.id}"/>
                <input type="hidden" name="region" id="region" value="{$row.region}"/>
                <input type="hidden" name="user_id" id="user_id" value="{$row.user_id}"/>
                <button type="submit" class="btn btn-primary operatbtn">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript">
$(document).on('click','.operatbtn',function(){
    $('select option:selected').val();
	$('#operating').val();
	$('.postBtn').click();
})
</script>